package com.zhida.courseservice.service;

import com.zhida.common.entity.Result;
import com.zhida.courseservice.entity.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ling
 * @since 2024-07-17
 */
@Service
public interface ICourseService extends IService<Course> {

    Result<?> createCourse(Course course);

    Result<?> getCourseInfo(Integer courseId);

    Result<?> updateCourseInfo(Course course);

    Result<?> getCourses(Integer current, Integer pageSize);
}
